import { Modal } from 'antd';
import PackingImg from '../../../public/img/packing.png';
import Pickup from '../../../public/img/pickup.png';

const PackingModal = (props) => {
  const { isModalOpen, handleOk, handleCancel } = props;
  return (
    <Modal
      width={800}
      title="装运详情"
      footer={null}
      open={isModalOpen}
      onOk={handleOk}
      onCancel={handleCancel}
    >
      <img src={PackingImg} style={{ width: '100%' }} />
      <img src={Pickup} style={{ width: '100%' }} />
    </Modal>
  );
};

export default PackingModal;
